{include file="public/header" /}


<div class="page">

        <table class="ds-default-table">
            <tbody>


<!--            合同信息-->
            <tbody id="tr_store_contract">
            <tr class="noborder">
                <td class="required"><label class="" for="contract_name">{$Think.lang.contract_name}:</label></td>
                <td class="vatop rowform">{$store_array.contract_name}</td>
                <td class="vatop tips"></td>
            </tr>

            <tr class="noborder">
                <td class="required"><label class="" for="contract_type">{$Think.lang.contract_type}:</label></td>
                <td class="vatop rowform">
                    {$store_array.contract_type}

                </td>
                <td class="vatop tips"></td>
            </tr>

            <tr class="noborder">
                <td class="required"><label class="" for="contract_file">{$Think.lang.contract_file}:</label></td>
                <td class="vatop rowform">
                    {$store_array.contract_file}
                </td>
                <td class="vatop tips"><a href="/uploads/home/store_joinin/{$store_array.contract_file}" download="/uploads/home/store_joinin/{$store_array.contract_file}">点击下载</a></td>
            </tr>

            <tr class="noborder">
                <td class="required"><label class="" for="contract_img">{$Think.lang.contract_img}:</label></td>
                <td class="vatop rowform">
                    {$store_array.contract_img}
                </td>
                <td class="vatop tips"><a href="/uploads/home/store_joinin/{$store_array.contract_img}" download="/uploads/home/store_joinin/{$store_array.contract_img}">点击下载</a></td>
            </tr>

            <tr class="noborder">
                <td class="required"><label class="" for="contract_other">{$Think.lang.contract_other}:</label></td>
                <td class="vatop rowform">{$store_array.contract_other}</td>
                <td class="vatop tips"></td>
            </tr>
            </tbody>
            <tfoot>
            </tfoot>
        </table>
    </form>
</div>
<script type="text/javascript">
    $(function () {


        $('#store_form').validate({
            errorPlacement: function (error, element) {
                error.appendTo(element.parentsUntil('tr').parent().find('td:last'));
            },
            rules: {

                contract_name: {
                    required: true
                }
            },
            messages: {
                contract: {
                    contract_name: '合同名称不能为空'
                }
            }
        });
    });
</script>
